import request from "@/utils/request";
// 运费管理
// 请求表单数据
export function carriagesDataApi() {
  return request({
    method: "GET",
    url: "/carriages",
  });
}
// 新增/修改运费模板
export function addCarriageApi() {
  return request({
    method: "POST",
    url: "/carriages",
  });
}
// 删除
export function delCarriageApi(id) {
  return request({
    method: "DELETE",
    url: `/carriages/${id}`,
  });
}
